

<footer role="contentinfo">
    <div class="clearfix">
        <ul class="list-unstyled list-inline">
            <!--li class="pull-right"><a href="javascript:;" id="back-to-top">Top <i class="icon-arrow-up"></i></a></li-->
            <button class="pull-right btn btn-inverse btn-xs" id="back-to-top" style="margin-top: -1px; text-transform: uppercase;"><i class="icon-arrow-up"></i></button>
        </ul>
    </div>
</footer>

</div> <!-- page-container -->

<!--
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>

<script>!window.jQuery && document.write(unescape('%3Cscript src="assets/js/jquery-1.10.2.min.js"%3E%3C/script%3E'))</script>
<script type="text/javascript">!window.jQuery.ui && document.write(unescape('%3Cscript src="assets/js/jqueryui-1.10.3.min.js'))</script>
-->

<script type='text/javascript' src='<?php echo base_url();?>assets/js/jquery-1.10.2.min.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/js/jqueryui-1.10.3.min.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/js/bootstrap.min.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/js/enquire.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/js/jquery.cookie.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/js/jquery.touchSwipe.min.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/js/jquery.nicescroll.min.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/plugins/codeprettifier/prettify.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/plugins/easypiechart/jquery.easypiechart.min.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/plugins/sparklines/jquery.sparklines.min.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/plugins/form-toggle/toggle.min.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/plugins/form-multiselect/js/jquery.multi-select.min.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/plugins/quicksearch/jquery.quicksearch.min.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/plugins/form-typeahead/typeahead.min.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/plugins/form-select2/select2.min.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/plugins/form-autosize/jquery.autosize-min.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/plugins/form-ckeditor/ckeditor.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/plugins/form-colorpicker/js/bootstrap-colorpicker.min.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/plugins/jqueryui-timepicker/jquery.ui.timepicker.min.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/plugins/form-daterangepicker/daterangepicker.min.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/plugins/form-daterangepicker/moment.min.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/demo/demo-formcomponents.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/js/placeholdr.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/js/application.js'></script> 
<script type='text/javascript' src='<?php echo base_url();?>assets/demo/demo.js'></script> 

<script>   
$(document).ready(function(){
    $('.kd_gejala').change(function(){ 
        var kd_gejala = $('.kd_gejala option:selected').text();
        var nama = $('#nama_gejala');
        var id = $('#id_gejala');
        if(kd_gejala == ' -- '){
            nama.val('');
            id.val('');
        }
        
        $.ajax({
            type: "POST",
            url: "<?php echo site_url('/diagnosa/get_gejala_json'); ?>", 
            data:"kd_gejala="+kd_gejala,
            dataType:'json',
            success: function(gejala) 
            {
                $.each(gejala,function(key,val) 
                { 
                 var nama = $('#nama_gejala');
                 var id = $('#id_gejala');
                 nama.val(val.gejala);
                 id.val(val.id_gejala);
                 
             });
            }

        });

    });

    $('.kd_penyakit').change(function(){ 
        var kd_penyakit = $('.kd_penyakit option:selected').text();
        var nama = $('#nama_penyakit');
        var id = $('#id_penyakit');
        if(kd_penyakit == ' -- '){
            nama.val('');
            id.val('');
        }
        
        $.ajax({
            type: "POST",
            url: "<?php echo site_url('/diagnosa/get_penyakit_json'); ?>", 
            data:"kd_penyakit="+kd_penyakit,
            dataType:'json',
            success: function(penyakit) 
            {
                $.each(penyakit,function(key,val) 
                { 
                 var nama = $('#nama_penyakit');
                 var id = $('#id_penyakit');
                 nama.val(val.penyakit);
                 id.val(val.id_penyakit);


             });
            }

        });

    });

});
</script>

</body>
</html>
